package com.wl.application.entity;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
@TableName("t_emp")
public class Emp {

  @TableId(type = IdType.AUTO)
  private Integer empno;
  private String ename;
  private String job;
  private Integer mgr;
  @JSONField(format = "yyyy年MM月dd")
//  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date hiredate;
  private Double sal;
  private Double comm;
  private Integer deptno;



}
